package study.kit.eggs.exception.param;

public class FormatErrorException extends ParamException {

    private static final String ERR_CODE = "1003";

    private static final String ERR_DESC = "参数格式错误";

    public FormatErrorException() {
        super(ERR_CODE, String.format(ERR_DESC, ""));
    }

    public FormatErrorException(String paramName) {
        super(ERR_CODE, String.format(ERR_DESC + "[s%]", paramName));
    }
}
